﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ecreate.Model
{
    #region t_systemuser
    [Serializable]     
    public class t_systemuser
    {
        private string userid;

        private string username = String.Empty;
        private string password = String.Empty;
        private int adminflag;
        private int groupid;

        // Instantiate empty t_systemuser for inserting
        public t_systemuser() { }

        // Retrieve t_systemuser with Id for updating
        public t_systemuser(string userid)
        {
            this.userid = userid;
        }

        #region Public Properties

        public string Userid
        {
            get { return userid; }
            set { userid = value; }
        }


        public string Username
        {
            get { return username; }
            set { username = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public int Adminflag
        {
            get { return adminflag; }
            set { adminflag = value; }
        }

        public int Groupid
        {
            get { return groupid; }
            set { groupid = value; }
        }
        #endregion
    }
    #endregion
	

	

}
